// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import Qt 4.7

 Item {
     id: button

     signal clicked

     property string text
     property color color: "white"

     width : 144
     height: 70

     BorderImage {
         id: buttonImage
         source: "images/forward_renren.png"
         width: button.width; height: button.height
     }
     MouseArea {
         id: mouseRegion
         anchors.fill: buttonImage
         onClicked: { button.clicked(); }
     }
     Text {
         id: btnText
         color: button.color
         anchors.centerIn: buttonImage; font.bold: true
         text: button.text; style: Text.Raised; styleColor: "black"
         font.pixelSize: 14
     }
 }
